<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

function lang($key, $args=null, $_=null)
{
    $CI = &get_instance();
    $result = $CI->lang->line($key);
	if($result){
		return sprintf($result,$args,$_);
	}
	return $key;
}
?>
